﻿namespace FFF.Test.Application.Repositories.CF
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.CF;

	/// <summary>
    /// 业务参数字典表(树)展示时候的dto
    /// </summary>
	[AutoMap(typeof(CFBizOptionEntity))] 
    public class CFBizOptionResDto : EntityDto<Guid>
    {
		/// <summary>
        /// 平台业务参数配置GUID(树)
        /// </summary>
		[Display(Name = "平台业务参数配置GUID(树)", Description = "平台业务参数配置GUID(树)")]
        [Column("BizParamSetGUID")]
        public Guid? BizParamSetGUID { get; set; }
        
		/// <summary>
        /// 字典项名称
        /// </summary>
		[Display(Name = "字典项名称", Description = "字典项名称")]
        [Column("BizOptionName")]
		[StringLength(128)]
        public string BizOptionName { get; set; }
        
		/// <summary>
        /// 字典的Code
        /// </summary>
		[Display(Name = "字典的Code", Description = "字典的Code")]
        [Column("BizOptionCode")]
		[StringLength(128)]
        public string BizOptionCode { get; set; }
        
		/// <summary>
        /// 树形的排序编码
        /// </summary>
		[Display(Name = "树形的排序编码", Description = "树形的排序编码")]
        [Column("OrderCode")]
		[StringLength(512)]
        public string OrderCode { get; set; }
        
		/// <summary>
        /// 对应的图标
        /// </summary>
		[Display(Name = "对应的图标", Description = "对应的图标")]
        [Column("Icon")]
		[StringLength(128)]
        public string Icon { get; set; }
        
    }
}
